package #(table.packageName).domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.sql.Types;

import lombok.Data;
import lombok.experimental.FieldNameConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.sagacity.sqltoy.config.annotation.Entity;
import org.sagacity.sqltoy.config.annotation.Id;
import org.sagacity.sqltoy.config.annotation.Column;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.sagacity.sqltoy.config.annotation.SqlToyEntity;
import org.sagacity.sqltoy.config.annotation.Translate;
#if(option.isGenExport())
import com.rankeiot.core.anno.Excel;
#end

/**
*
* #(table.title)Vo
*
*/
@Data
@SqlToyEntity
public class #(table.name)Vo extends #(table.name){
    #for(column:table.columns)
    #if(column.dict)
    #if(option.isGenExport())
    @Excel("#(column.name)");
    #end
    @Translate(cacheName = "dict",cacheType = "#(column.dict)",keyField = "#(column.field)")
    private String #(column.field)Name;
    #else if(column.translate)
    #if(option.isGenExport())
    @Excel("#(column.name)");
    #end
    @Translate(cacheName = "#(column.translate)",keyField = "#(column.field)")
    private String #(column.field)Name;
    #end
    #end
}
